<div  class="navleft">
        <dl class="navcon">
            <{foreach $menu as $key => $val}>
                <{if $controller|in_array:$val.controller}>
                    <dt><{$val.name}></dt>
                    <{if $val.sub}>
                    <{foreach $val.sub as $k => $v}>
                    <dd><a href="<{$v.url}>" <{if $current_action|in_array:$v.action}>class="dq"<{/if}>><{$v.name}></a></dd>
                    <{/foreach}>
                    <{/if}>
                <{/if}>
            <{/foreach}>
            <div class="clearbox"></div>
        </dl>
</div>